package com.guanglan.serviceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.guanglan.dao.SysRolePermissionMapper;
import com.guanglan.domain.SysRole;
import com.guanglan.service.SysRolePermissionService;

@Service
public class SysRolePermissionServiceImpl implements SysRolePermissionService{
	
	@Autowired
	private SysRolePermissionMapper rolePermissionMapper;

	public int deleteByPrimaryKey(Long id) {
		// TODO Auto-generated method stub
		return 0;
	}

	public int insert(SysRolePermissionService record) {
		// TODO Auto-generated method stub
		return 0;
	}

	public int insertSelective(SysRolePermissionService record) {
		// TODO Auto-generated method stub
		return 0;
	}

	public SysRolePermissionService selectByPrimaryKey(Long id) {
		// TODO Auto-generated method stub
		return null;
	}

	public int updateByPrimaryKeySelective(SysRolePermissionService record) {
		// TODO Auto-generated method stub
		return 0;
	}

	public int updateByPrimaryKey(SysRolePermissionService record) {
		// TODO Auto-generated method stub
		return 0;
	}

	public List<Long> selectPermissionIdByRoleId(List<SysRole> list) {
		// TODO Auto-generated method stub
		return rolePermissionMapper.selectPermissionIdByRoleId(list);
	}

}
